<script setup lang='ts'>
import Header from '@/components/header.vue'
import Aside from '@/components/aside.vue'
</script>

<template>
  <el-container>
    <el-header class="header">
      <Header></Header>
    </el-header>

    <el-container class="mainContainer">
      <el-aside class="aside">
        <Aside></Aside>
      </el-aside>
      <el-main class="main">
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>

<style scoped lang="scss">
.header {
  box-sizing: content-box;
  margin-bottom: 10px;
  border-bottom: 1px solid #dcdfe6;
}

.mainContainer {
  width: 1440px;
  min-height: calc(100vh - 60px);
  margin: 0 auto;
  padding: 10px;

  .aside {
    width: 200px;
  }

  // .main{
  //   height: 600px;
  // }
}
</style>